import json

import requests

with open('cookie.json', 'r', encoding='utf-8') as f:
    cookie_data=json.load(f)
def 获取业务信息():
    params = {
        "method": "queryBusinessInfo",
    }

    data = {"reciveNum":"52038109510824P425101100003"}

    response = requests.post(
        'http://59.215.206.188/tyspzy/approval/business/error',
        params=params,

        headers=cookie_data,
        json=data,

    ).json()
    print(response['busiBean']['itemId'])
    print(response['busiBean']['regionCode'])
    # print(response.text)
    # print(response)
获取业务信息()